cc_library(
   name = 'a',
   srcs = ['a.cc', 'b.cc', 'a.h'],
   hdrs = ['b.h'],
)

cc_binary(
    name = 'c',
    srcs = ['c.cc'],
    deps = [':a'],
)
